function checkPerson() {
var _problemFilterDS = VDs.problemFilterDS
	var filterBuilder = isc.FilterBuilder.create({
    dataSource:VDs.problemFilterDS,
    criteria:{ _constructor: "AdvancedCriteria",
    	operator:"and", criteria:[
      	{fieldName:"date", operator: "greaterThan", value:app.util.firstDayofMonth.toSerializeableDate(10)},      	
      	{fieldName:"date", operator: "lessThan", value:new Date().toSerializeableDate(10)}
     	]
    }
	});
	var iBtn_Query = isc.IButton.create({
		autoDraw:false,
		title:VButton.Search,
		click:function(){
			filterBuilder.getDataSource().filterData(filterBuilder.getCriteria(),
     		function(dsResponse,data){
     			checkDetailList.setData(data)
     		})
				
		}
	});
	var checkDetailList = isc.ListGrid.create({
		width:"100%",
		height:"100%",
		autoDraw:false,
		canEdit:false,
		showRowNumbers:true,
		showGridSummary:true,
		dataSource:VDs.problemFilterDS,
		fields:[
			{name:"ProblemProcedureId",showIf:"false"},
			{name:"fileNum",showIf:"false"},
			{name:"date",title:VTitle.DateTitle,width:"10%",dateFormat:"toJapanShortDate"},
			{name:"partNo",showIf:"false"},
			{name:"rejectsNo",width:"10%",title:VTitle.DisqualificationListTitle},
			{name:"partName",title:VTitle.PartTitle,width:"20%"},
			{name:"name",title:VTitle.DefectTitle,width:"15%"},
			{name:"output",title:VTitle.OutputTitle,summaryFunction:"sum",align:"right",width:"8%",formatCellValue: "isc.Format.toUSString(value,0)"},
			{name:"disqualificationNum",title:VTitle.FTQTitle,summaryFunction:"sum",align:"right",width:"8%",formatCellValue: "isc.Format.toUSString(value,0)"},
			{name:"checkType",title:VTitle.InspectTitle,width:"10%"},
			{name:"teamGroup",title:VTitle.TeamTitle,width:"8%"},
			{name:"teamClass",title:VTitle.WorkingTimeTitle,width:"8%"},
			{name:"important",title:VTitle.CriticalTitle,type:"boolean",width:"12%",canEdit:false},
			{name:"uploadpng",title:VTitle.HighlightTitle,width:"12%",type: "image",align:"center",canEdit:false, imageURLPrefix:"Victor/", imageURLSuffix:".png"},
			{name:"upload",title:VTitle.HighlightTitle,type:"boolean",width:1}
		],
		recordDoubleClick: function(viewer, record, recordNum, field, fieldNum, value, rawValue){
			var _fileNum = record.fileNum;
			var _sort = _fileNum.charAt(6)+_fileNum.charAt(7)
			// alert(_fileNum)
			// alert('problemProcedure'+"" + _sort + "")
			VgetModuleItem('problemProcedure'+"" + _sort + "",_fileNum,'tab')
				// var L_ProblemProcedure = new problemProcedure(this.getSelectedRecord().fileNum,checkPerson).layout;
				// layout.removeMembers(layout.getMembers());
				// layout.addMembers(L_ProblemProcedure)
				
		
		}
	});
	
	var layout = isc.VLayout.create({
		width:"100%",
		height:"100%", 
		// layoutMargin:20,
		members:[filterBuilder,iBtn_Query,checkDetailList]
	});
	
	
	this.layout = layout;

};
